import request from '../utils/request'
/**
 * 首页相关接口
 */
export default {
  // 获取热门推荐
  getHotRecommend () {
    const data = {
      listSize: 8
    }
    return request({
      url: 'gds/getHotRecommend.do_',
      method: 'post',
      data
    })
  },
  // 获取分类列表
  getCategoryList () {
    return request({
      url: 'gds/category/getCategoryList.do_',
      method: 'get'
    })
  }
}
